
using System;

namespace bashpromptutil
{
	
	
	public class UsageDialog : Gtk.Dialog
	{
		protected Gtk.TextView textview1;
		private string _uText;
		
		public string uText
		{
			get { return _uText; }
			set { _uText = value; }
		}

		
		public UsageDialog()
		{
			Stetic.Gui.Build(this, typeof(bashpromptutil.UsageDialog));
			_uText = "";
			this.textview1.Buffer.Text = _uText;
		}
		
		public UsageDialog(string message)
		{
			Stetic.Gui.Build(this, typeof(bashpromptutil.UsageDialog));
			_uText = message;
			this.textview1.Buffer.Text = _uText;
		}

		protected virtual void OnButton1Clicked(object sender, System.EventArgs e)
		{
			this.Destroy();
		}
		
	}
}
